package com.changgou.order.service;


import com.changgou.order.pojo.OrderItem1;


import java.util.List;
import java.util.Map;

public interface CartService {

    // 添加购物车
    void addCart(String skuId,Integer num,String username);


    // 查询购物车
    Map list(String username);



    /*
    前端传参数：商品skuid和num
     */
    Map BuyList(List<OrderItem1> list);




}
